package com.prik.factory.abs.ingredient.shanghai;

import com.prik.factory.abs.ingredient.Cheese;
import com.prik.factory.abs.ingredient.Pepperoni;
import com.prik.factory.abs.ingredient.PizzaIngredientFactory;

/**
 * @description: 上海披萨原料工厂
 * @author: prik
 * @create: 2019-07-31
 **/
public class SHPizzaIngredientFactory implements PizzaIngredientFactory {
    @Override
    public Cheese createCheese() {
        System.out.println("原料：上海芝士");
        return new SHCheese();
    }

    @Override
    public Pepperoni createPepperoni() {
        System.out.println("原料：上海腊肠");
        return new SHPepperoni();
    }
}